#include <iostream>

using namespace std;

int main() {
    int x;
    scanf("%d", &x);
    int local = x * 5;
    int luogu = x * 3 + 11;
    if (local < luogu) cout << "Local" << endl;
    else cout << "Luogu" << endl;
    return 0;
}